<template>
	<view class="container">
		<hr />
		<!-- 标题栏 -->
		<!-- 		<view class="header">
			<view class="back-icon">
				<uni-icons type="back" size="24" color="#333"></uni-icons>
			</view>
			<text class="title">修改密码</text>
			<view class="more-icon">
				<uni-icons type="more" size="24" color="#333"></uni-icons>
			</view>
		</view> -->

		<!-- 输入框区域 -->
		<view class="input-container">
			<view class="input-group" style="margin-top: 20px;">
				<text class="label">电箱原密码</text>
				<input class="input" type="text" placeholder="请输入电箱密码" />
			</view>
			<view class="empty">

			</view>
			<view class="input-group">
				<text class="label">电箱新密码</text>
				<input class="input" type="text" placeholder="请输入电箱密码" />
			</view>
			<view class="input-group">
				<text class="label">电箱新密码</text>
				<input class="input" type="text" placeholder="请输入电箱密码" />
			</view>
		</view>

		<!-- 按钮区域 -->
		<view class="button-container">
			<button class="skip-btn" @click="skip">跳过</button>
			<button class="save-btn" @click="saveAndNext">保存并进入下一步</button>
		</view>
	</view>
</template>

<script setup>


</script>

<style scoped>
	.container {
		width: 100%;
		height: 100vh;
		background-color: inherit;
		box-sizing: border-box;
	}

	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 60px;
		margin-bottom: 20px;
	}

	.back-icon {
		display: flex;
		align-items: center;
	}

	.title {
		font-size: 18px;
		font-weight: bold;
		color: #333;
	}

	.more-icon {
		display: flex;
		align-items: center;
	}

	.input-container {
		width: 100%;
		height: 40%;

	}

	.input-group {
		width: 100%;
		height: 40px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 15px 0;
		background-color: rgba(255, 255, 255, 1);
		border: none;
		padding: 5px;

	}

	.empty {
		width: 100%;
		height: 20px;
		background-color: inherit;
	}


	.input-group:last-child {
		border-bottom: none;
	}

	.label {
		font-size: 16px;
		color: #333;
	}

	.input {
		flex: 1;
		text-align: right;
		font-size: 14px;
		color: #666;
	}

	/* 修改 placeholder 的样式 */
	.uni-input-placeholder {
		left: -10px;
		/* 设置 placeholder 文字的对齐方式 */

		/* 设置 placeholder 文字的行高 */
	}

	.button-container {
		width: 100%;
		height: 60%;
		display: flex;
		justify-content: space-between;
		align-items: center;

	}

	.skip-btn,
	.save-btn {
		flex: 1;
		height: 44px;
		border-radius: 10px;
		font-size: 16px;
		margin: 0 10px;
	}

	.skip-btn {
		background-color: #1296db;
		color: #00bcd4;
		border: none;
	}

	.save-btn {
		background-color: #1296db;
		color: #fff;
		border: none;
	}
</style>